Optimal. Leaf size=33 \[ -\frac {\cosh \left (a+b x^2\right )}{2 b}+\frac {\cosh ^3\left (a+b x^2\right )}{6 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {5428, 2713}
\begin {gather*} \frac {\cosh ^3\left (a+b x^2\right )}{6 b}-\frac {\cosh \left (a+b x^2\right )}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2713
Rule 5428
Rubi steps
\begin {align*} \int x \sinh ^3\left (a+b x^2\right ) \, dx &=\frac {1}{2} \text {Subst}\left (\int \sinh ^3(a+b x) \, dx,x,x^2\right )\\ &=-\frac {\text {Subst}\left (\int \left (1-x^2\right ) \, dx,x,\cosh \left (a+b x^2\right )\right )}{2 b}\\ &=-\frac {\cosh \left (a+b x^2\right )}{2 b}+\frac {\cosh ^3\left (a+b x^2\right )}{6 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 33, normalized size = 1.00 \begin {gather*} -\frac {3 \cosh \left (a+b x^2\right )}{8 b}+\frac {\cosh \left (3 \left (a+b x^2\right )\right )}{24 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.35, size = 31, normalized size = 0.94
method | result | size |
default | \(-\frac {3 \cosh \left (x^{2} b +a \right )}{8 b}+\frac {\cosh \left (3 x^{2} b +3 a \right )}{24 b}\) | \(31\) |
risch | \(\frac {{\mathrm e}^{3 x^{2} b +3 a}}{48 b}-\frac {3 \,{\mathrm e}^{x^{2} b +a}}{16 b}-\frac {3 \,{\mathrm e}^{-x^{2} b -a}}{16 b}+\frac {{\mathrm e}^{-3 x^{2} b -3 a}}{48 b}\) | \(63\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 62 vs.
\(2 (29) = 58\).
time = 0.27, size = 62, normalized size = 1.88 \begin {gather*} \frac {e^{\left (3 \, b x^{2} + 3 \, a\right )}}{48 \, b} - \frac {3 \, e^{\left (b x^{2} + a\right )}}{16 \, b} - \frac {3 \, e^{\left (-b x^{2} - a\right )}}{16 \, b} + \frac {e^{\left (-3 \, b x^{2} - 3 \, a\right )}}{48 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.43, size = 46, normalized size = 1.39 \begin {gather*} \frac {\cosh \left (b x^{2} + a\right )^{3} + 3 \, \cosh \left (b x^{2} + a\right ) \sinh \left (b x^{2} + a\right )^{2} - 9 \, \cosh \left (b x^{2} + a\right )}{24 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.17, size = 44, normalized size = 1.33 \begin {gather*} \begin {cases} \frac {\sinh ^{2}{\left (a + b x^{2} \right )} \cosh {\left (a + b x^{2} \right )}}{2 b} - \frac {\cosh ^{3}{\left (a + b x^{2} \right )}}{3 b} & \text {for}\: b \neq 0 \\\frac {x^{2} \sinh ^{3}{\left (a \right )}}{2} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 56, normalized size = 1.70 \begin {gather*} -\frac {{\left (9 \, e^{\left (2 \, b x^{2} + 2 \, a\right )} - 1\right )} e^{\left (-3 \, b x^{2} - 3 \, a\right )} - e^{\left (3 \, b x^{2} + 3 \, a\right )} + 9 \, e^{\left (b x^{2} + a\right )}}{48 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 28, normalized size = 0.85 \begin {gather*} -\frac {3\,\mathrm {cosh}\left (b\,x^2+a\right )-{\mathrm {cosh}\left (b\,x^2+a\right )}^3}{6\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________